package io.jft.doll.model.bindModel

import android.databinding.ObservableField
import com.g.base.ui.recyclerView.item.BaseItem
import io.jft.doll.R
import io.jft.doll.databinding.ItemAddressBinding
import io.jft.doll.room.entity.common.AddressItemCEntity

/**
 * Created by G on 2017/8/23 0023.
 */
class AddressBind(
        beanItem: AddressItemCEntity? = null,
        val isSelectModel: Boolean = false,
        val isPreviewModel: Boolean = true,
        val isCartModel: Boolean = false
) : BaseItem<ItemAddressBinding>() {
    override val layoutId: Int = R.layout.item_address
    val isLoading = ObservableField(false)
    var beanItem = ObservableField(beanItem)
}